package com.itheima.spring.bestpractive.vo.req.assessment;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @version 1.0
 * @author: HZY
 * @date: 2025/6/26 11:35
 * @Content:
 */

@Data
public class AssessmentIndicatorReqEvaVo {
    @NotNull(message = "指标编号不能为空")
    @Schema(name = "考核指标编号")
    private Long indicatorId;
    @NotNull(message = "考核分数不能为空")
    @Schema(name = "考核分数")
    private BigDecimal score;
    @NotNull(message = "考核评语不能为空")
    @Schema(name = "考核评语")
    private String comment;
    @NotNull(message = "被考核人员不能为空")
    @Schema(name = "被考核人员")
    private Long employeeId;
    @Schema(name = "考核计划编号")
    private Long planId;
}
